import { ApiProperty } from '@nestjs/swagger';

export class ResponseDto<T> {
  @ApiProperty({ description: '返回状态', default: 200 })
  code: number;
  @ApiProperty({ description: '信息描述', default: 'success' })
  message: string;
  @ApiProperty({ description: '结果' })
  data: T;
}
